package com.iscas.tech.service;

import com.iscas.tech.entity.AtModulevalue;
import com.iscas.tech.param.AtModulevaluePageParam;
import com.iscas.tech.vo.AtModulevalueQueryVo;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.pagination.Paging;

import java.util.List;

/**
 * 项目基础信息模块值表 服务类
 *
 * @author yangyi
 * @since 2020-10-26
 */
public interface AtModulevalueService extends BaseService<AtModulevalue> {

    /**
     * 保存
     *
     * @param atModulevalue
     * @return
     * @throws Exception
     */
    boolean saveAtModulevalue(AtModulevalue atModulevalue) throws Exception;

    /**
     * 修改
     *
     * @param atModulevalue
     * @return
     * @throws Exception
     */
    boolean updateAtModulevalue(AtModulevalue atModulevalue) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteAtModulevalue(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param atModulevaluePageParam
     * @return
     * @throws Exception
     */
    Paging<AtModulevalueQueryVo> getAtModulevaluePageList(AtModulevaluePageParam atModulevaluePageParam) throws Exception;

    /**
     * @param mdId 模块ID
     * @return 获取模块下属所有模块值信息
     * @throws Exception 查询异常
     */
    List<AtModulevalueQueryVo> getAllInMd(Long mdId) throws Exception;
}
